package com.jomoo.common.pojo;

// default package

import java.util.Date;

/**
 * JomooAccount entity. @author MyEclipse Persistence Tools
 */

public class JomooAccount implements java.io.Serializable
{

	private static final long serialVersionUID = -8208741283777099089L;

	private Integer id;
	private Integer accountType;
	private Date accountTime;
	private Float accountSale;
	private Integer cardId;
	private String remark;
	private Integer active;
	private Integer isBalance;
	private Integer typeId;
	private Integer specId;

	private String accountTypeName;
	// 查询外加成员
	private String productTypeName;
	private String productSpecName;

	// Constructors

	/** default constructor */
	public JomooAccount()
	{
	}

	/** full constructor */
	public JomooAccount(Integer accountType, Date accountTime,
			Float accountSale, Integer cardId, String remark, Integer active,
			Integer isBalance, Integer typeId, Integer specId)
	{
		this.accountType = accountType;
		this.accountTime = accountTime;
		this.accountSale = accountSale;
		this.cardId = cardId;
		this.remark = remark;
		this.active = active;
		this.isBalance = isBalance;
		this.typeId = typeId;
		this.specId = specId;
	}

	public JomooAccount(Integer id, String accountTypeName, Float accountSale,
			Date accountTime, String remark, Integer isBalance)
	{
		super();
		this.id = id;
		this.accountTime = accountTime;
		this.accountSale = accountSale;
		this.remark = remark;
		this.isBalance = isBalance;
		this.accountTypeName = accountTypeName;
	}

	public JomooAccount(String accountTypeName, Integer isBalance,
			String productTypeName, String productSpecName, Float accountSale,
			Date accountTime, String remark)
	{
		super();
		this.productSpecName = productSpecName;
		this.productTypeName = productTypeName;
		this.accountTime = accountTime;
		this.accountSale = accountSale;
		this.remark = remark;
		this.isBalance = isBalance;
		this.accountTypeName = accountTypeName;
	}

	public JomooAccount(String accountTypeName, Integer isBalance,
			Integer typeId, Integer specId, Float accountSale,
			Date accountTime, String remark)
	{
		super();
		this.typeId = typeId;
		this.specId = specId;
		this.accountTime = accountTime;
		this.accountSale = accountSale;
		this.remark = remark;
		this.isBalance = isBalance;
		this.accountTypeName = accountTypeName;
	}

	// Property accessors

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getAccountType()
	{
		return this.accountType;
	}

	public void setAccountType(Integer accountType)
	{
		this.accountType = accountType;
	}

	public Date getAccountTime()
	{
		return this.accountTime;
	}

	public void setAccountTime(Date accountTime)
	{
		this.accountTime = accountTime;
	}

	public Float getAccountSale()
	{
		return this.accountSale;
	}

	public void setAccountSale(Float accountSale)
	{
		this.accountSale = accountSale;
	}

	public Integer getCardId()
	{
		return this.cardId;
	}

	public void setCardId(Integer cardId)
	{
		this.cardId = cardId;
	}

	public String getRemark()
	{
		return this.remark;
	}

	public void setRemark(String remark)
	{
		this.remark = remark;
	}

	public Integer getActive()
	{
		return this.active;
	}

	public void setActive(Integer active)
	{
		this.active = active;
	}

	public Integer getIsBalance()
	{
		return this.isBalance;
	}

	public void setIsBalance(Integer isBalance)
	{
		this.isBalance = isBalance;
	}

	public Integer getTypeId()
	{
		return typeId;
	}

	public void setTypeId(Integer typeId)
	{
		this.typeId = typeId;
	}

	public Integer getSpecId()
	{
		return specId;
	}

	public void setSpecId(Integer specId)
	{
		this.specId = specId;
	}

	public String getAccountTypeName()
	{
		return accountTypeName;
	}

	public void setAccountTypeName(String accountTypeName)
	{
		this.accountTypeName = accountTypeName;
	}

	public String getProductTypeName()
	{
		return productTypeName;
	}

	public void setProductTypeName(String productTypeName)
	{
		this.productTypeName = productTypeName;
	}

	public String getProductSpecName()
	{
		return productSpecName;
	}

	public void setProductSpecName(String productSpecName)
	{
		this.productSpecName = productSpecName;
	}
}